all:	libcfunc.so cfunc.out

libcfunc.so: cfunc.cpp
	g++ -shared -Wall -fPIC $< -o $@ -lhighgui

cfunc.out: cfunc.cpp
	g++ $< -Wall -DSTANDALONE -o $@ -lhighgui

clean:
	@rm -f libcfunc.so
	@rm -f cfunc.out
	@rm -f image.png
	@rm -f images/*


